Ext.define('pm.model.UserProject', {
    extend: 'Ext.data.Model',
    fields: [
    	{name: 'id', type: 'int'},
        {name: 'project_id', type: 'int'},
        {name: 'user_id', type: 'int'},
        {name: 'project_name', type: 'string'},
        {name: 'user_name', type: 'string'},
    ],
    /*associations: [
        { 
            type: 'hasOne', 
            model: 'Project',
            name: 'project'
        },
        { 
            type: 'hasOne', 
            model: 'pm.model.Personal',
            name: 'user'
        },
    ]*/
});